package com.itheima.social.securitys.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itheima.social.securitys.pojo.Archive;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * @author qiankaofei
 * @version 1.0
 * @date 2020/12/6 18:03
 */
public interface ArchiveMapper extends BaseMapper<Archive> {
    /**
     * 根据企业id和年月查询社保归档
     */
    Archive findArchiveByCompanyIdAndYearMonth(@Param("companyId") String companyId, @Param("yearMonth") String yearMonth);
}
